@(modelForView: model.forview.TypeModelForView)
@main(modelForView.mainModelForView) {

<!-- CONTENT -->
<div class="span7">
	<div class="well">
		<h3>@modelForView.vType.getTitle()</h3>
		<p>@modelForView.vType.getDescription()</p>
		<a class="btn btn-danger btn-mini" href="@routes.Types.getPageTypeDelete(modelForView.vType.getID())"><i class="icon-warning-sign"></i>Удалить тип данных</a>
	</div>
</div>

<div class="span5">
	<table class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>#</th>
				<th>Заголовок</th>
				<th>Примитивный тип</th>
			</tr>
		</thead>
		<tbody>
			@for(i <- 0 until modelForView.simpleTypesName.size()){
			<tr>
				<td>@(i+1)</td>
				<td>@modelForView.simpleTypesTitle.get(i)</td>
				<td>@modelForView.simpleTypesName.get(i)</td>
			</tr>
			}
		</tbody>
	</table>
</div>
}
